package operation;
import Book.Book;
import Book.BookList;

import java.util.Scanner;

public class ShowOperation implements IOperation{
    public void work(BookList bookList){
        System.out.println("显示图书...");

        int currentsize= bookList.getUsedSize();
        for(int i=0;i<currentsize;i++){
            Book book=bookList.getBook(i);
                System.out.println(book);
            }
        }

}

